package GeneticAlgorithm_Five;

// 课程执行  // 已验
public class Class {
    private final int classId;
    // 班级id
    private final int groupId;
    // 学习模块id
    private final int moduleId;
    // 教师id
    private int professorId;
    // 时间段id
    private int timeslotId;
    // 教师id
    private int roomId;

    public Class(int classId,int groupId, int moduleId){
        this.classId = classId;
        this.moduleId = moduleId;
        this.groupId = groupId;
    }
    public void addProfessor(int professorId) {
        this.professorId = professorId;
    }
    public void addTimeslot(int timeslotId){
        this.timeslotId = timeslotId;
    }
    public void setRoomId(int roomId) {
        this.roomId = roomId;
    }
    public int getClassId() {
        return this.classId;
    }
    public int getGroupId() {
        return this.groupId;
    }
    public int getModuleId() {
        return this.moduleId;
    }
    public int getProfessorId() {
        return this.professorId;
    }
    public int getTimeslotId() {
        return this.timeslotId;
    }
    public int getRoomId() {
        return this.roomId;
    }





}
